Skip to content

List the Czech and Slovak DiS. as a credential, and read DrSc. and ArtD. by default (#969) - #1512

Merged
derek73 merged 4 commits into
masterfrom
feat/czech-dis-credential-969
Nov 21, 2026
Merged

derek73 merged 4 commits into
masterfrom
feat/czech-dis-credential-969

Conversation

@derek73

@derek73 derek73 commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Closes #969

Vocabulary only, decided 2026-11-20: the Czech and Slovak post-nominal DiS. (diplomovaný specialista) is a credential, on by default, and DrSc. and ArtD. are read by default.

Jan Novák, DiS.        → suffix 'DiS.', reported   (1.4.0–3.1.0: title 'DiS.')
Bc. Jan Novák, DiS.    → title 'Bc.', suffix 'DiS.' (3.1.0: title 'Bc. DiS.')
Jan Novák, DiS         → suffix 'DiS'              (1.4.0–3.1.0: given 'DiS', family 'Jan Novák')
Jan Novák, DrSc.       → suffix 'DrSc.'            (1.4.0–3.1.0: title 'DrSc.')
Jan Dis                → family 'Dis', reported    (unchanged: the surname gates the credential)

The readings

  • dis is a credential in cs.toml and in sk.toml, the diploma of both countries. Each language file states its own reading, as drsc already did.
  • Its surname reading, the Dis of ORCID's and PatentsView's family boxes, is in mul.toml. Its bearers belong to no one language (ORCID 14, five with a country: BR, CZ, FI, NL, US; PatentsView 6, US and NL). In mul.toml, a strict choice of either language still gates the credential, which is the ing and mba layout.
  • No case mask. A mask applies in every role, and cased = "DiS" repaired the surname (JAN DIS → Jan DiS, and Jan Dis → Jan DiS under force=True), the psc lesson of Add BCh, BChir, BMBCh, Nigerian and Hong Kong post-nominals as credentials, and German aus as a particle (#1361, #1228, #1182, #1284) #1510. So the credential's mixed case is left as written, and case repair of a name written in one case writes DIS..
  • drsc (cs, sk) and artd (sk) are read by default. Phase 3f wrote them default = false for neutrality, as it did the doctorates Which abbreviations that open a name should the vocabulary list: Excm., Mohd., Mt.? #1115 turned on. Neither has a name reading.
  • The issue's other words:
    • IEn. (3 records) is the given name Ien, so it is left out, with an excluded entry in cs.toml.
    • dipl. um. (27) is two words, and its first, dipl, is already listed.
    • Dr. written after the name (10) is a title.
  • Option (b), a rule of shape for any unlisted abbreviation after a comma, is declined. That is recorded in decisions/H2 (the leading-abbreviation title): DiS. is 3,232 of the roughly 3,300 such records, and (b) would reverse John Smith, Insp. → title, a reading held since 1.4.0.

Accepted costs

Each is recorded in decisions/suffix-acronym-collisions and on the words.

  • Every mixed-case DiS after a full name and one comma reports suffix-or-name. That is the gated class's report there, rules/C4 (the ambiguous credential class at the comma).
  • With no comma, Jan Novák DiS. stays family 'DiS.', as on master. S6 (the case signal at the suffix slot) keeps a mixed-case word a name, and whether that mixed case should read as the credential is Read a credential written in its own mixed case at the end of a name (Jane Doe CEng FIET gives family CEng) #1053's question. Novák, Jan DiS. reads middle 'DiS.' the same way.
  • After a one-word family or nothing, it is still H2's title (Novák, DiS.).
  • A surname written DIS:
    • in a name of mixed case it reads as the credential even with no word to spare (Jan DIS → suffix 'DIS', no family, reported), the Amani BCHIR shape;
    • in a name written in one case, the count takes it when there is a word to spare (PETR JAN DIS → family 'JAN', suffix 'DIS').
    • No corpus name writes the surname that way.

Measured

2026-11-20, against a checkout of master 3ca31c2f:

fixed broken changed
local_agreement.py cz-candidates --base (170,181 records) 3,169 0 79
the same, --locale cs 3,216 0 17
  • The "changed" Czech records now have the credential right but still disagree on another field, mostly a double surname. One is Bc. et Bc., which master misreads too.
  • snapshot.py --local ctgov-officials --base: 19 entries move, each a DrSc or Dr.Sc. read as the credential where it was a given name, a title or a comma-structure report.
  • local_agreement.py --base:
    • orcid-researchers: 1 fixed (a Croatian dr.sc.), and 1 changed (a family box that holds Dr.Sc. itself);
    • psc-individuals: none.
  • The committed snapshot: unchanged.
  • The grid:
    • the four comma shapes and all three orders;
    • the dotted, bare, lower-case and capitals spellings;
    • behind Bc., Ing. and prof. MUDr., and before MBA and Ph.D.;
    • the surname Dis at the head, at the end and after a comma;
    • Novák, D.I.S. and Novák, D.;
    • parse, parser_for(locales.CS), parser_for(locales.SK) and the strict choices.

Changes

  • cs.toml, sk.toml, mul.toml, with the compiled vocabulary rebuilt.
  • Case rows in tests/v2/cases.py.
  • test_locales.py: DrSc and ArtD move to a _READ_BY_DEFAULT_SINCE_969 table that checks the default reads them as the pack does, the Which abbreviations that open a name should the vocabulary list: Excm., Mohd., Mt.? #1115 pattern.
  • test_local_agreement.py: the unlisted example is now IEn..
  • The two sweep counts in test_cases.py, re-taken.
  • docs/languages.rst and the locales.CS/locales.SK docstrings, which said DrSc and ArtD waited for a pack.
  • decisions/suffix-acronym-collisions, H2 and vocabulary-model.
  • One release-log bullet.

Checks

All pass:

  • the full suite, with and without the ja extra, and on 3.15 in its own environment;
  • -m serial;
  • ruff and mypy;
  • build.py --check;
  • the Sphinx doctest build and the README doctest;
  • parity_check.py: 0 of 752 parity rows differ from 1.4.0.

Reviews

  • Code and vocabulary review (pr-review-toolkit code-reviewer). It found:
    • the user docs and pack docstrings still saying DrSc and ArtD waited for a pack;
    • the one-case surname cost (PETR JAN DIS) contradicting three texts;
    • a case note naming S4 where S6 keeps Jan Novák DiS. a name;
    • IEn. not recorded on the word.
  • Design-docs review. It found:
    • a report claim stated too widely;
    • the Novák, Jan DiS. slot unstated;
    • a case-repair claim false for one-case names;
    • an ORCID count that didn't add up;
    • a missing recipe and a missing SUPERSEDES line.
  • Second-round review of the fix commit. It found:
    • Jan DIS emptying the family with no word to spare, stated nowhere;
    • a capitals-report claim false for all-capitals names;
    • a recipe that named no base and did not reproduce two counts;
    • Ien's SSA figure misread as yearly.

All fixed.

🤖 Generated with Claude Code

derek73 and others added 4 commits November 20, 2026 22:25
… by default (#969)

cs.toml and sk.toml list dis as a credential, which mul.toml's surname
Dis gates, so Jan Novák, DiS. reads the suffix where it read a title and
Jan Dis keeps the family; it carries no case mask, which would repair
the surname. drsc and artd, written default = false for neutrality in
phase 3f, are read by default, as #1115 read the doctorates. The issue's
rule of shape for any unlisted abbreviation after a comma is declined
in decisions/H2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sts (#969)

The pack tests named them as words only locales.CS and SK read; read
by default now, they witness that the default reads them as the pack
does, as #1115's titles do. The agreement tests' unlisted post-nominal
is IEn., DiS. being listed, and the sweep counts are re-taken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd the records (#969)

A surname Dis written in one case with a word to spare reads as the
credential (PETR JAN DIS), recorded as accepted with a row; the release
bullet and the mul.toml note narrow to what the parse does. The user
docs and the cs and sk pack docstrings no longer say DrSc and ArtD wait
for a pack. The decisions entry scopes its report and case claims,
splits the ORCID count, names what it supersedes and points its counts
at a recipe; IEn. gets an exclusion on the word; a case note names
rules/S6 as what keeps DiS. a name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#969)

The second review of the fix commit: a surname written DIS in a name
of mixed case reads as the credential even with no word to spare (Jan
DIS, the Amani BCHIR shape), recorded as accepted with a row and in the
release bullet and mul.toml note; capitals settle the report only in a
name of mixed case; the H2 recipe names its base and how its per-word
figures count; Ien's SSA figure is a total since 1880, not a yearly one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@derek73 derek73 added this to the 3.2 milestone Nov 21, 2026
@derek73 derek73 added enhancement vocabulary Fixed by a word-list entry: per-word vocabulary and language packs suffixes Generational suffixes and credentials (rules/S) labels Nov 21, 2026
@derek73 derek73 self-assigned this Nov 21, 2026
@derek73
derek73 merged commit 23a6d97 into master Nov 21, 2026
14 checks passed
@derek73
derek73 deleted the feat/czech-dis-credential-969 branch November 21, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement suffixes Generational suffixes and credentials (rules/S) vocabulary Fixed by a word-list entry: per-word vocabulary and language packs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should an unlisted abbreviation after a full name and a comma read as a post-nominal? (Czech Jan Novák, DiS. gives title DiS.)

1 participant